package com.wumart.scaffold.web.entity.master;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangwc@wumart.com
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class FraComy extends Model<FraComy> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 隶属组织机构编码
     */
    private String orgCode;

    /**
     * 隶属母公司编码
     */
    private String comParentCode;

    /**
     * 组织机构编码
     */
    private String comCode;

    /**
     * 组织机构名称
     */
    private String comName;

    /**
     * 可控标识
     */
    private Integer comControlSign;

    /**
     * 统计口径
     */
    private Integer conStatisticsLevel;


    public static final String ID = "id";

    public static final String ORG_CODE = "org_code";

    public static final String COM_PARENT_CODE = "com_parent_code";

    public static final String COM_CODE = "com_code";

    public static final String COM_NAME = "com_name";

    public static final String COM_CONTROL_SIGN = "com_control_sign";

    public static final String CON_STATISTICS_LEVEL = "con_statistics_level";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
